#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include"pot.h"
#include<stdlib.h>

int size(Linklist* head) 
{
	Linklist* last = head->next;
	int len=0;
	while (last != NULL)
	{
		last = last->next;
		len++;
	}
	return len;
}